package com.Lyoto.core.enetity.annotation;

import java.lang.annotation.*;
import java.util.concurrent.locks.Lock;

/**
 * @author Lyoto
 * @Description
 * @Date 2022-09-22 9:09
 * @Version
 **/
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface RateLimit {
    String key() default "lock";
    int time() default 1;
    int count() default 1000;
}
